package com.atguigu.order.feign;

import com.alibaba.nacos.shaded.com.google.gson.JsonObject;
import com.atguigu.order.bean.User;
import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "shpt-serve",url = "http://127.0.0.1:3000")
public interface LoginFeignClient {
    @PostMapping("/api/user/passport/login")
    String login(@RequestBody User user);
}
